package com.dmwork.common.base;

import com.dmwork.common.base.util.MD5;
import com.dmwork.common.base.util.StringUtils;

import java.util.Date;
import java.util.UUID;

public class Demo {

    public static void main(String[] args) {
        Date last=new Date();
        System.out.println(last.getTime());
        for (long i = 0; i < 10000000000L; i++) {
            int a=1;
            int b=1;
        }
        Date cur = new Date();
        System.out.println(cur.getTime());
        System.out.println(cur.getTime()-last.getTime());

        last=new Date();
        System.out.println(last.getTime());
        long count=0;
        while (count<10000000000L) {
            int a=0;
            count++;
        }
        cur=new Date();
        System.out.println(cur.getTime());
        System.out.println(cur.getTime()-last.getTime());
    }

}
